package com.yf.dxapp.module.app.controller.admin.favorite.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 收藏分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FavoritePageReqVO extends PageParam {

    @Schema(description = "收藏人ID", example = "2105")
    private Long collectorId;

    @Schema(description = "收藏人名称", example = "芋艿")
    private String collectorName;

    @Schema(description = "ENUM-收藏类型:PRODUCT-商品", example = "1")
    private Integer type;

    @Schema(description = "关联记录ID", example = "4556")
    private Long refId;

    @Schema(description = "ENUM-收藏状态:NO-未收藏,YES-已收藏", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}